//
//  NSBundle+SXDataManagerBundle.m
//  Pods-SXDataManager_Example
//
//  Created by 王水鑫 on 2019/1/6.
//

#import "NSBundle+SXDataManagerBundle.h"
#import <objc/runtime.h>

@implementation NSBundle (SXDataManagerBundle)

// 获取pod资源文件bundle的路径
+ (NSBundle *)SXDataManager_bundle {
    NSBundle *currentBundle = [NSBundle bundleForClass:[NSClassFromString(@"SXDataManager") class]];
    NSURL *url = [currentBundle URLForResource:@"SXDataManager" withExtension:@"bundle"];
    return [self bundleWithURL:url];
}
@end
